<script setup lang="ts">
interface Props {
  isShow: boolean;
  title: string;
  keysText: string;
}
const props = withDefaults(defineProps<Props>(), {});
</script>

<template>
<modal
    :is-show="props.isShow"
    :title="props.title? $t('public.privateKeyTip'): $t('public.viewTheSeedPhraseTip')"
    @close="$emit('close')"
    @submit="$emit('close')">
  <div class="views">{{props.keysText}}</div>
</modal>
</template>

<style scoped lang="scss">
</style>